package com.eonmind.pay.service;


import com.eonmind.common.contract.data.response.ResponseEntity;
import com.eonmind.common.provider.entity.vip.VipPackage;
import com.eonmind.pay.dto.PayDto;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Service;


@Service
public interface PayService {
    ResponseEntity<PayDto.PayCodeDto> payCode(Integer type, Long userId);

    String notifyOfWxPay(HttpServletRequest request, HttpServletResponse response);

    ResponseEntity<Boolean> isPaySuccess(Long orderId);

    void checkOrderStatus(Long id);
}
